<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>    
<%@include file="../common/common.jsp"%>  
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>商品详情信息</title>
        <link rel="stylesheet" href="${ctx }/css/layui.css">
		<script type="text/javascript" src="${ctx }/js/layer-v1.9.2/layer/layer.js"></script>
        <script type="text/javascript" src="${ctx}/js/layer-v1.9.2/layer/layui.js"></script>
		<script type="text/javascript" src="${ctx }/js/goods/store.js"></script>
		<%-- <script src="${ctx}/js/jquery-1.10.1.min.js" type="text/javascript"></script>  --%>
		<script type="text/javascript">
		
			//var totalRecords;
			//var currentPage;
			//ajax请求评价咨询接口
			function queryConsult(flag){
				var goodsIdd = $("#goodsIdd").val();
				var statusext = null;
				if(flag!=null){
					statusext = flag;
				}
	            $.ajax({
   					url : "${ctx}/consultComment/queryConsult.do?type=2",
   					type : "post",
   					//	dataType : 'json',
   					data : {"status":statusext,"goodsId":goodsIdd},
   					async : false,
   					success : function(data, status) {
   						var totalRecords = data.totalRecords; //获取总数
   						var currentPage = data.currentPage; //获取当前页数
   						var resultList = data.resultList;  //获取返回的集合数据
   						var html = "";
   						//添加样式
   						booleanFlag(flag);
   						//移除已有的标签元素数据
   						$("#consult_comment li").remove();
   					//	alert(JSON.stringify(resultList))
   						$.each(resultList, function(i,result){      
							var createTime = result.createTime;
							var createTimeStr="";
							if(createTime!=null){
								createTimeStr=timeStamp2String(createTime);
							}
							var specInfo = result.specInfo;
							if(specInfo==null){
								specInfo="";
							}
							
							html+="<li> "
								/* consult_comment */
/*                      		+"<a href="${ctx }/member/vip_set_header"  class="red" alt='头像照片'>a>
 */									//+"<img src='${ctx}/images/tx.png' alt='用户头像' /> "
								    +"<img src='${baseFile}"+result.mImg+"' alt='' />'"
									+"<div class='l'> "
									+"	<p class='name three'>"+result.memberName+"</p> "
									+"	<p class='six'>"+result.consultContent+"</p> "
									
									if(result.filePicture!=null && result.filePicture!=""){
										html+="	<span class='clo_pic'><img src='${baseFile}"+result.filePicture+"' alt='' /></span> "
									}					
									if(result.filePicture2!=null && result.filePicture2!=""){
										html+="	<span class='clo_pic'><img src='${baseFile}"+result.filePicture2+"' alt='' /></span> "
									}						
									if(result.filePicture3!=null && result.filePicture3!=""){
										html+="	<span class='clo_pic'><img src='${baseFile}"+result.filePicture3+"' alt='' /></span> "
									}
									html+="	<p class='size f12 nine clearfix'> "
										+" 		<span>"+specInfo+"</span> "
										+"		<span class='date r'>"+createTimeStr+"</span> "
										+"	</p> "	
									html+="  <div class='add_com'> "
								 	var childrenList = result.childrenList; 
								 	for(var i=0;i<childrenList.length;i++){
								 		html+="<p><span class='nine'>[追加评论]</span>"+childrenList[i].consultContent+"</p> "
											if(result.filePicture!=null){
												html+="	<span class='clo_pic'><img src='${baseFile}"+result.filePicture+"' alt='' /></span> "
											}						
											if(result.filePicture2!=null){
												html+="	<span class='clo_pic'><img src='${baseFile}"+result.filePicture2+"' alt='' /></span> "
											}						
											if(result.filePicture3!=null){
												html+="	<span class='clo_pic'><img src='${baseFile}"+result.filePicture3+"' alt='' /></span> "
											}
											html+=" <p class='f12 nine'><span class='r'>"+timeStamp2String(childrenList[i].createTime)+"   追加</span></p> "
								 	}
									
									html+="  </div>"
									+"</div>"
									+"</li>";
							});
							$("#consult_comment").append(html);
							
							pagination(totalRecords,currentPage,statusext,goodsIdd);
							
							
		   				},
		   				error : function(xhr, status, e) {
		   					alert("失败错误信息"+e)
		   				}
	        	 });
	         } 
	         
	         
	         /**分页调用****/
	         function pagination(totalRecords,currentPage,status_ext,goodsIdd){
 				var GG = {
		        	"kk":function(mm){
		        		$("#page").click(function() {
			        		//location.href="${ctx}/consultComment/queryConsult.do?type=2&currPage="+mm+"";
			        		$.ajax({
			   					url : "${ctx}/consultComment/queryConsult.do?type=2&currPage="+mm+"",
			   					type : "post",
			   					data : {"status":status_ext,"goodsId":goodsIdd},
			   					async : false,
			   					success : function(data, status) {
			   						var totalRecords_ext = data.totalRecords; //获取总数
			   						var currentPage_ext = data.currentPage; //获取当前页数
			   						var resultListT = data.resultList;  //获取返回的集合数据
		   							//$("#onChartT").removeClass("selected");
			   						//$("#queryConsultT").addClass("selected")
			   						booleanFlag(status_ext);
			   						//移除已有的标签元素数据
			   						$("#consult_comment li").remove();
			   						var hh = optionHtml(resultListT);
			   						$("#consult_comment").append(hh);
			   					//	$("#page").initPage(totalRecords_ext,currentPage_ext,GG.kk);
				   				},
				   				error : function(xhr, status, e) {
				   					alert("失败错误信息"+e)
				   				}
			        	 	});
			        	});
		        	}
		    	}
		    	//alert("totalRecords"+totalRecords+":currentPage"+currentPage)
	    		$("#page").initPage(totalRecords,currentPage,GG.kk);
	        }
	         
	        //当前标签添加移除样式
	        function booleanFlag(flag){
	        	if(flag!=null && flag=='3'){
   					$("#onChartT").removeClass("selected");
					$("#queryConsultT").removeClass("selected");
					$("#queryConsultThree").addClass("selected");
					$("#queryConsultTwo").removeClass("selected");
					$("#queryConsultOne").removeClass("selected");
					$("#onAdditionalF").removeClass("selected");
					
				}else if(flag!=null && flag=='2'){
					$("#onChartT").removeClass("selected");
					$("#queryConsultT").removeClass("selected");
					$("#queryConsultThree").removeClass("selected");
					$("#queryConsultTwo").addClass("selected");
					$("#queryConsultOne").removeClass("selected");
					$("#onAdditionalF").removeClass("selected");
				}else if(flag!=null && flag=='1'){
					$("#onChartT").removeClass("selected");
					$("#queryConsultT").removeClass("selected");
					$("#queryConsultThree").removeClass("selected");
					$("#queryConsultTwo").removeClass("selected");
					$("#queryConsultOne").addClass("selected");
					$("#onAdditionalF").removeClass("selected");
					
				}else if(flag!=null && flag=='4'){
					$("#onChartT").addClass("selected");
					$("#queryConsultT").removeClass("selected");
					$("#queryConsultThree").removeClass("selected");
					$("#queryConsultTwo").removeClass("selected");
					$("#queryConsultOne").removeClass("selected");
					$("#onAdditionalF").removeClass("selected");
					
				}else if(flag!=null && flag=='5'){
					$("#onChartT").removeClass("selected");
					$("#queryConsultT").removeClass("selected");
					$("#queryConsultThree").removeClass("selected");
					$("#queryConsultTwo").removeClass("selected");
					$("#queryConsultOne").removeClass("selected");
					$("#onAdditionalF").addClass("selected");
				}else{
					$("#onChartT").removeClass("selected");
					$("#queryConsultT").addClass("selected");
					$("#queryConsultThree").removeClass("selected");
					$("#queryConsultTwo").removeClass("selected");
					$("#queryConsultOne").removeClass("selected");
					$("#onAdditionalF").removeClass("selected");
				}
	        
	        }
	         
	         /**组合拼装html****/
	         function optionHtml(resultList){
	         	//alert(JSON.stringify(resultList))
	         	var html = "";
	         	$.each(resultList, function(i,result){      
					var createTime = result.createTime;
					var createTimeStr="";
					if(createTime!=null){
						createTimeStr=timeStamp2String(createTime);
					}
					var specInfo = result.specInfo;
					if(specInfo==null){
						specInfo="";
					}
					
					html+="<li> "
					       +"<img src='${baseFile}"+result.mImg+"' alt='用户头像' />'"
							/* +"<img src='${ctx}/images/tx.png' alt='用户头像' /> " */
							+"<div class='l'> "
							+"	<p class='name three'>"+result.creater+"</p> "
							+"	<p class='six'>"+result.consultContent+"</p> "
							+"	<span class='clo_pic'><img src='${ctx}/images/black01.png' alt='' /></span> "
							+"	<span class='clo_pic'><img src='${ctx}/images/black02.png' alt='' /></span>	 "		
							+"	<p class='size f12 nine clearfix'> "
							+" 		<span>"+specInfo+"</span> "
							+"		<span class='date r'>"+createTimeStr+"</span> "
							+"	</p> "											
							+"</div>"
							+"</li>";
				});
				return html;
	         }
	         /*追加评价**/
	         function onAdditional(){
	         	alert("功能暂未实现！！！");
	         }
	        //格式化日期时间 
	        function timeStamp2String(time){
			    var datetime = new Date();
			    datetime.setTime(time);
			    var year = datetime.getFullYear();
			    var month = datetime.getMonth() + 1 < 10 ? "0" + (datetime.getMonth() + 1) : datetime.getMonth() + 1;
			    var date = datetime.getDate() < 10 ? "0" + datetime.getDate() : datetime.getDate();
			    var hour = datetime.getHours()< 10 ? "0" + datetime.getHours() : datetime.getHours();
			    var minute = datetime.getMinutes()< 10 ? "0" + datetime.getMinutes() : datetime.getMinutes();
			    var second = datetime.getSeconds()< 10 ? "0" + datetime.getSeconds() : datetime.getSeconds();
			    return year + "-" + month + "-" + date+" "+hour+":"+minute+":"+second;
			}
		</script>
	</head>
	<body>
		<!--头部-->
		<!--头部  -->
		<%@include file="../common/header.jsp"%>  
		<div class="store">
			<%-- <div class="first clearfix container">
				<div class="name l">
					<h1>${goodsDetail.brandName}官方旗舰店 <span>品牌直销</span></h1>
					<p class="f16 six">
						<span>描述</span>
						<span>价格</span>
						<span>质量</span>
						<span>服务</span>
					</p>
					<p class="red">
						<span>4.48</span>
						<span>4.39</span>
						<span>4.45</span>
						<span>4.53</span>
					</p>
				</div>
				<div class="search r">
					<input type="text" placeholder="2017春装新品"/>
					<button>搜本店</button>
					<button class="two">搜全站</button>
				</div>
			</div> --%>
			<div class="second">
				<div class="container">
					<a href="${ctx}/" class="logo"><img src="${ctx}/images/logo.png" alt="LOGO" /></a>
					<p class="f24 three l">原创轻文化</p>
					<span class="a">全店实拍</span>
					<span class="b">七天无理由退换货</span>
					<span>每周一/周二上新</span>
				</div>
			</div>
			<div class="third container clearfix">
				<input type="hidden" name="goodsIdd" id="goodsIdd" value="${goodsDetail.id}">
				<p class="location">您当前的位置：首页>商品详情</p>
				<div class="left l">
					<%-- <img src="${ctx}/images/da01.png" alt="" /> --%>
					<c:choose>
						<c:when test="${goodsDetail.picture!=null}">
							<img src="${baseFile}${goodsDetail.picture}" alt="" />
						</c:when>
						<c:otherwise>
							<img src="${ctx}/images/defualt.png" alt="" />
						</c:otherwise>
					</c:choose>
					<div>
						<c:set value="${fn:split(goodsDetail.imageFile, ';')}" var="imgList"></c:set>
						 <%-- <c:out value="${fn:length(imgList)}"></c:out>	 --%>
						<c:choose>
							<c:when test="${goodsDetail.imageFile!=null}">
								<c:forEach items="${imgList}" var="img" varStatus="status">
									<c:if test="${status.index < 3 }">
										<span><img src="${baseFile}/${img}" alt=""></span>
									</c:if>
								</c:forEach>
							</c:when>
							<c:otherwise>
								<span><img src="${ctx}/images/defualt.png" alt="" /></span>
								<span><img src="${ctx}/images/defualt.png" alt="" /></span>
								<span><img src="${ctx}/images/defualt.png" alt="" /></span>
							</c:otherwise> 
						</c:choose>
						<p class="f12 nine">
							<!-- <span class="share">分享</span> -->
							<span class="collect"><c:choose><c:when test="${goodsDetail.selected =='1' }"><img src="${ctx }/images/sch.png" alt="" /></c:when> <c:otherwise><img src="${ctx }/images/collect2.png" alt="" /></c:otherwise></c:choose>收藏商品(<i>2236</i>人气)</span>
							<!-- <a href="" class="nine">举报</a> -->
						</p>
					</div>
				</div>
				<div class="right r">
					<p class="name f22 three">${goodsDetail.name}</p>
					<div class="b">
						<c:choose>
							<c:when test="${member!=null }">
								<p class="a">
									<span class="aa">价格</span>
										<s id="marketPrice_id">￥${goodsDetail.marketPrice}</s> 
									<span class="bb nine">
										<i>${totalCount[0]}</i><br/>
										<i>累计评论</i>
									</span>
									<span class="bb cc nine">
										<i>${totalCount[1]}</i><br/>
										<i>交易成功</i>
									</span>
								</p>
								<p class="f22 red b" id="memberMarketPrice">￥${goodsDetail.memberMarketPrice}<span class="f12"></span></p>
								<p class="a c"><span class="aa">优惠</span></p>
							</c:when>
							<c:otherwise>
								<!-- <p class="a f18 red"> -->
								<p class="a">
									<!-- <span class="aa f14 nine">价格</span> -->
									<span class="aa">价格</span>
										<s>￥${goodsDetail.marketPrice}</s> 
									<span class="bb nine">
										<i>${totalCount[0]}</i><br/>
										<i>累计评论</i>
									</span>
									<span class="bb cc nine">
										<i>${totalCount[1]}</i><br/>
										<i>交易成功</i>
									</span>
								</p>
								<p class="f22 red b">￥${goodsDetail.marketPrice}<span class="f12"></span></p>
								<p class="a c"><span class="aa">优惠</span><span class="red spe_offer"><i>会员特价</i></span>请登录 确认是否享受优惠</p>
							</c:otherwise>
						</c:choose>
						
						<!-- <p class="d"><span class="red spe_offer"><i>满减</i></span>满259.00减10.00，满399.00减30.00，满599减50.00</p> -->
					</div>
					<div id="divTest" class="c">
						<div class="distri">
							<i>配送费</i> <span>10.00元</span>	
							<!-- <span class="six">江苏南通 至 河南郑州郑东新区 &#x3000;支持 &#x3000;<span>货到付款 | 送运费险</span></span>
							<p>货到付款运费15元 在线支付免运费</p> -->
						</div>
						<!-- <div class="size nine">
							<i>尺码</i>
							<span class="all_code"><i>均码</i></span>
							<span><i>S</i></span>
							<span><i>M</i></span>
							<span><i>L</i></span>
						</div> -->
						
							<c:forEach items="${goodsDetail.goodsSkuList}" var="goodsSku" varStatus="statusT">
								
								<c:if test="${statusT.index == '0'}">
								<div class="color">
									<i>${goodsSku.name}</i>
									<c:forEach items="${goodsSku.goodsSkuValueList}" var="sku" varStatus="status">
										<%-- <c:if test="${status.index+1 == '1'}">
											<span><i class="selected">${sku.valueName}</i></span>
										</c:if> --%>
										<span goodsSkuValueId = "${sku.valueId}">${sku.valueName}</span>
									</c:forEach>
								</div>
								</c:if>
								
								<c:if test="${statusT.index == '1'}">
									<div class="size ">
										<i>${goodsSku.name}</i>
										<c:forEach items="${goodsSku.goodsSkuValueList}" var="sku" varStatus="status">
											<span goodsSkuValueId = "${sku.valueId}">${sku.valueName}</span>
										</c:forEach>
									</div>
								</c:if>
							</c:forEach>
						
						
						
						<%-- <div>
							<i>颜色</i>
							<img src="${ctx}/images/black01.png" alt="" />
							<img src="${ctx}/images/black02.png" alt="" />
						</div> --%>
						
						
						<div class="number">
							<i>数量</i>
							<span class="minus l">-</span>
							<input type="text" value="1"/>
							<span class="add l">+</span>&nbsp;&nbsp;件
							<span class="inventory">(库存<span>${goodsDetail.baseQuantity }</span>件)</span>
						</div>
						<%-- 
						<div>
							<i>数量</i>
							
							<span>库存${goodsDetail.baseQuantity }件</span>
						<!-- <span>库存369件</span> -->
						</div> --%>
						<div class="act">
							<button class="cart " onclick="goCart();" >加入购物车</button><a href="javascript:void(0);" onclick="goBuy();"><button class="buy">立即购买</button></a>
						</div>
						<div class="promise">
							<i>服务承诺</i>
							<span>正品保证</span>
							<span>极速退款</span>
							<span>赠运费险</span>
							<p>七天无理由退换货</p>
						</div>
					</div>
				</div>
			</div>
			
			<div class="fourth container clearfix">
				<div class="left l">
					<%-- <div class="a f16">
						<p>${goodsDetail.brandName}x</p>
						<div class="wrap">
							<p class="six">
								<span>描述</span>
								<span>价格</span>
								<span>质量</span>
								<span class="last">服务</span>
							</p>
							<p class="red">
								<span>4.48</span>
								<span>4.39</span>
								<span>5.00</span>
								<span class="last">4.80</span>
							</p>	
							<button class="collect">收藏店铺</button><button>进入店铺</button>
							<div>
								<input type="text" /><button>店内搜索</button>
							</div>
						</div>
					</div> --%>
					
					<%-- <div class="b">
						<p>商品分类</p>
						<ul class="six">
							<li>全部商品</li>
							<c:forEach items="${GoodsClassList }" var="goodsClass">
								<li>${goodsClass.name}</li>
							</c:forEach>
						</ul>
					</div> --%>
					
					<div class="c">
						<p>看了又看</p>
						<ul>
							<c:forEach items="${seeGoodsListA}" var="goodsN" varStatus="status">
								<c:if test="${status.index<10 }">
									<li>
										<a href="${ctx}/goods/queryGoodsDetail?id=${goodsN.goodsId}" target="_blank">
											<c:choose>	
												<c:when test="${goodsN.picture!=null }">
													<img src="${baseFile}${goodsN.picture}" alt="碎花欧根纱" />
												</c:when>
												<c:otherwise>
													<img src="${ctx}/images/zuo01.png" alt="" />
												</c:otherwise>
											</c:choose>
											<p>${goodsN.goodsName}</p>
											<p class="price">￥${goodsN.marketPrice}</p>
										</a>
									</li>
								</c:if>
							</c:forEach>
						</ul>
					</div>
				</div>
				<div class="right l">
					<div class="top six">
						<span class="selected detail">宝贝详情</span>
						<span class="eval" onclick="queryConsult();">累计评论&nbsp;<i class="red">${totalCount[0]}</i></span>
						<!-- <a href="">手机购买</a> -->
					</div>
					<div class="details">
						<div class="clearfix">
							<p>品牌：<i>${goodsDetail.brandName}</i><!-- <span>+关注</span> --></p>
							<ul class="l">
								<li>店铺：${goodsDetail.brandName}旗舰店</li>
								<li>商品名称：${goodsDetail.name}</li>
								<!-- <li>年份季节：2017年春款</li> -->
							</ul>
							 <ul class="l">
								 <li>单位：${goodsDetail.unitName}</li>
								<li>商品标题：${goodsDetail.title}</li>
								<!-- <li>衣长：中长款</li> -->
							</ul>
							<ul class="r last">
								<li>商品分类：${goodsDetail.className}</li>
								<li>货号：${goodsDetail.specification }</li>
							</ul> 
						</div>
						<%-- <img src="${ctx}/images/detail01.png" alt="" /> --%>
						<p>
							<%-- <textarea name="descript" style="height:300px;">${goodsDetail.descript}</textarea> 
							 --%>
							<%-- <img src="${ctx}/images/detail01.png" alt="" /> --%>
							 ${goodsDetail.descript}
						</p>
					</div>
					<div class="evaluation">
						<%-- <div class="score red">
							<div class="l">
								<p class="l">
									<img src="${ctx}/images/dj.png" alt="评分" />
								</p>
								
								<i class="f24">5.0分</i>
								<span class="f12">大家都写到</span>
							</div>
							
							<p class="f10 r">
								<span><i>宝贝很赞(263)</i></span>
								<span><i>版型很好(263)</i></span>
								<span><i>穿上好看(263)</i></span>
								<span><i>没有色差(263)</i></span>
								<span><i>色彩很好(263)</i></span>
								<span><i>衣衣很舒服(263)</i></span>
								<span><i>做工好(263)</i></span>
								<span><i>料子好(263)</i></span>
							</p>
						</div> --%>
						<div class="all">
							<p class="clearfix">
								<a href="javascript:void(0);" id="queryConsultT" onclick="queryConsult('0');">全部评价(<i>${totalCount[0]}</i>)</a>
								<a href="javascript:void(0);" id="queryConsultThree" onclick="queryConsult('3');">好评(<i>${totalCount[2]}</i>)</a>
								<a href="javascript:void(0);" id="queryConsultTwo" onclick="queryConsult('2');">中评(<i>${totalCount[3]}</i>)</a>
								<a href="javascript:void(0);" id="queryConsultOne" onclick="queryConsult('1');">差评(<i>${totalCount[4]}</i>)</a>
								<a href="javascript:void(0);" id="onChartT" onclick="queryConsult('4');">晒图(<i>${totalCount[5]}</i>)</a>
								<a href="javascript:void(0);" id="onAdditionalF" onclick="queryConsult('5');">追评(<i>${totalCount[6]}</i>)</a>
							</p>
							<ul id="consult_comment">
								<%-- <c:forEach items="${resultList}" var="result">
									<li>
										<img src="${ctx}/images/tx.png" alt="用户头像" />
										<div class="l">
											<p class="name three">静***6</p>
											<p class="six">${result.consultContent}</p>
											<p class="size f12 nine">
												<!-- <span>尺码：S</span>																					
												<span>颜色：黑色</span>  -->
												<span>${result.specInfo}</span>
												<span class="date r"><fmt:formatDate value="${result.createTime }" type="date" pattern='yyyy-MM-dd HH:mm:ss'/></span>
											</p>										
											<span class="clo_pic"><img src="${ctx}/images/black01.png" alt="" /></span>
											<span class="clo_pic"><img src="${ctx}/images/black02.png" alt="" /></span>									
										</div>
									</li>
								</c:forEach> --%>
								<%-- <li>
								</li>
								<li>
									<img src="${ctx}/images/tx.png" alt="用户头像" />
									<div class="l">
										<p class="name three">静***6</p>
										<p class="six">很好 绣花很赞 很漂亮 质量也好</p>
										<p class="size f12 nine">
											<span>尺码：S</span>																					
											<span>颜色：黑色</span> 
											<span class="date r">2017年02月26日</span>
										</p>
										<p class="add_eval">追加评价：真的很漂亮，不信看图</p>
										<span class="clo_pic"><img src="${ctx}/images/black01.png" alt="" /></span>
										<span class="clo_pic"><img src="${ctx}/images/black02.png" alt="" /></span>									
									</div>
								</li>--%>
							</ul>
						</div>
						
						<!-- <div class="paging r">
							<span><a href="" class="prev">上一页</a></span>
							<span><a href="" class="selected">1</a></span>
							<span><a href="">2</a></span>
							<span><a href="">3</a></span>
							...
							<span><a href="">26</a></span>
							<span><a href="" class="prev">下一页</a></span>
						</div> -->
						<!--分页   标签开始-->
						<div class="clearfix">
							<ul class="page" maxshowpageitem="5" pagelistcount="15"  id="page"></ul>
						</div>
						<!--分页   标签结束-->
					</div>
				</div>
			</div>
			<!-- 看了该宝贝的人还看了     标签开始 -->
			<div class="fifth container">
				<p class="f18 three"><span></span><i>看了该宝贝的人还看了</i></p>
				 <ul class="clearfix">
					<c:if test="${seeGoodsListB!=null && fn:length(seeGoodsListB) > 0}">
						<c:forEach items="${seeGoodsListB}" var="seeGoods" varStatus="status">
							<li><%--  ${status.index+1} --%>
								<a href="${ctx}/goods/queryGoodsDetail?id=${seeGoods.id}" target="_blank">
									<c:choose>	
										<c:when test="${seeGoods.picture!=null }">
											<img src="${baseFile}${seeGoods.picture}" alt="碎花欧根纱" />
										</c:when>
										<c:otherwise>
											<img src="${ctx}/images/xia01.png" alt="" />
										</c:otherwise>
									</c:choose>
								</a>
								<p class="price">￥${seeGoods.marketPrice}</p>
								<p class="des" title="${seeGoods.name}">${seeGoods.name}</p>
							</li>
						</c:forEach>
					</c:if>
				</ul> 
				
			</div>
			<!-- 看了该宝贝的人还看了     标签结束 -->
		</div>
		<!-- 引入底部的页面  开始-->
		<%@include file="../common/bottom.jsp"%>
		<!-- 引入底部的页面  结束-->
	</body>
	
</html>

